#ifndef __CONFIG__H__
#define __CONFIG__H__

#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stddef.h>

#include <unistd.h>
#include <fcntl.h>

#include <sys/stat.h>
#include <sys/fcntl.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/mman.h>

#include <error.h>
#include <time.h>

#include <pthread.h>

#include "bsp_uart.h" 


//pthread extern 
// 串口设备上下文全局指针声明
extern pthread_mutex_t mcu_data_lock;
extern pthread_mutex_t usb0_data_lock;
extern pthread_mutex_t select_video_lock;

#endif  //!__CONFIG__H__